﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LoungeRepo.Contracts.Core;

namespace Using_collections
{
    class EntityBase : ILoungeRepoEntityIdentity
    {
        public EntityBase() { this.Id = Guid.NewGuid().ToString(); }

        #region Implementation of ILoungeRepoEntityIdentity
        public string Id { get; set; }
        public string Partition { get { return this.GetType().Name; } }
        #endregion

    }
}
